package com.bestcem.xm.member.grpc.service.param.openplatform;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author dc.wang <dc.wang@idiaoyan.com>
 * @version V1.0
 * @date 2021/11/9 10:34
 */
@Getter
@Setter
@ToString
public class MemberFieldParam {
    private String id;

    private String orgId;

    @NotNull(message = "扩展字段名称不能为空")
    private String name;

    private Integer type;

    @NotNull(message = "扩展字段值不能为空")
    private String value;

    private Integer attribute;
}
